varLong() Function

Function varLong(ByVal i As Object) As Integer

Returns a Integer representation of a given Object parameter.  Most object types are cast to the Integer value using the CInt() system function.  If the specified Object conversion fails then a zero value is returned.

See also: varLongStr() Function

Level 1 Class Function